
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.EvQuestionDao;
import edu.tongji.jiaowu.service.EvQuestionManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class EvQuestionManagerImpl extends BaseManagerImpl implements EvQuestionManager {
        private EvQuestionDao evQuestionDao;

	
	public CommonBean createEvQuestion(){
                return evQuestionDao.createEvQuestion();		
	}
	
/*
	public CommonBean findEvQuestions(String refid) {
                return evQuestionDao.findEvQuestions(refid);
       }
*/
	public CommonBean findEvQuestionById(String id){
                return evQuestionDao.findEvQuestionById(id);
       }	
	public CommonBean findAllEvQuestions() {
                return evQuestionDao.findAllEvQuestions();
       }
	public void insertEvQuestion(CommonBean evQuestionBean){
               evQuestionDao.insertEvQuestion(evQuestionBean);
	}
	public void updateEvQuestion(CommonBean evQuestionBean){
               evQuestionDao.updateEvQuestion(evQuestionBean);
	}
	
	public EvQuestionDao getEvQuestionDao(){
		return evQuestionDao;
        }	
        
  public void setEvQuestionDao(EvQuestionDao evQuestionDao){
          this.evQuestionDao=evQuestionDao;	
  }        		
}

